package com.ruoyi.shop.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单对象 dd
 * 
 * @author ruoyi
 * @date 2025-06-20
 */
public class Dd extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单id */
    @Excel(name = "订单id")
    private Long ddId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long id;

    /** 商品 */
    @Excel(name = "商品")
    private String sp;

    /** 状态 */
    @Excel(name = "状态")
    private String zt;

    /** 姓名 */
    @Excel(name = "姓名")
    private String xm;

    /** 地址 */
    @Excel(name = "地址")
    private String dz;

    /** 订单电话 */
    @Excel(name = "订单电话")
    private Long dh;

    /** 订单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "订单时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sj;

    public void setDdId(Long ddId) 
    {
        this.ddId = ddId;
    }

    public Long getDdId() 
    {
        return ddId;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setSp(String sp) 
    {
        this.sp = sp;
    }

    public String getSp() 
    {
        return sp;
    }

    public void setZt(String zt) 
    {
        this.zt = zt;
    }

    public String getZt() 
    {
        return zt;
    }

    public void setXm(String xm) 
    {
        this.xm = xm;
    }

    public String getXm() 
    {
        return xm;
    }

    public void setDz(String dz) 
    {
        this.dz = dz;
    }

    public String getDz() 
    {
        return dz;
    }

    public void setDh(Long dh) 
    {
        this.dh = dh;
    }

    public Long getDh() 
    {
        return dh;
    }

    public void setSj(Date sj) 
    {
        this.sj = sj;
    }

    public Date getSj() 
    {
        return sj;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ddId", getDdId())
            .append("id", getId())
            .append("sp", getSp())
            .append("zt", getZt())
            .append("xm", getXm())
            .append("dz", getDz())
            .append("dh", getDh())
            .append("sj", getSj())
            .toString();
    }
}
